import Https from "@/utils/Https";

export const queryPageDataReq = async (params) =>
  await Https.post("/content/vipMessage/list", params);

export const addItemReq = async (params) =>
  await Https.post("/content/vipMessage/add", params);
export const updateItemReq = async (params) =>
  await Https.post("/content/vipMessage/update", params, true);
export const deleteItemReq = async (params) =>
  await Https.get("/content/vipMessage/delete", params, true);

export const queryVerifyReq = async (params) =>
  await Https.post("/content/vipMessage/verify", params);

export const toggleStateReq = async (params) =>
  await Https.post("/content/vipMessage/update", params, true);

export const queryVenueUserCountReq = async (params) =>
  await Https.get("/content/vipMessage/getVenueUserCount", params, true);
